package com.tuling.busi.service.Impl;

import com.tuling.busi.bean.Order;
import com.tuling.busi.dao.OrderMapper;
import com.tuling.busi.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: lijunwei
 * @Time: 2020/9/12 18:47
 * http://localhost:8080/test/add
 */
@Service
public class OrderServiceIpml implements OrderService {
    @Autowired
    private OrderMapper orderMapper;

    @Override
    public int insertOrder(Order order) {
        int i = orderMapper.insertOrder(order);
        return i;
    }
}
